package com.geese.common.entity;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;

public class InterfaceLog extends BaseEntity {
	private static final long serialVersionUID = 3900657442725946790L;

	private Integer id;

    private Integer userId;

    private Date createTime;

    private String interfaceUrl;

    private String param;

    private String ip;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getInterfaceUrl() {
        return interfaceUrl;
    }

    public void setInterfaceUrl(String interfaceUrl) {
        this.interfaceUrl = interfaceUrl == null ? null : interfaceUrl.trim();
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param == null ? null : param.trim();
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }
    
    @Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}